package com.qumitech.visualnovel.datasource.console;

import com.qumitech.visualnovel.model.dao.console.KittenFishingDO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface KittenFishingDOMapper {
    int deleteByPrimaryKey(Long id);

    int insert(KittenFishingDO record);

    int insertSelective(KittenFishingDO record);

    KittenFishingDO selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(KittenFishingDO record);

    int updateByPrimaryKey(KittenFishingDO record);

    int getCount(@Param("tableList") List<String> tableList,
                 @Param("uid") String uid,
                 @Param("rewardItem") String rewardItem,
                 @Param("startTime") String startTime,
                 @Param("endTime") String endTime);

    List<KittenFishingDO> getList(@Param("tableList") List<String> tableList,
                                @Param("uid") String uid,
                                @Param("rewardItem") String rewardItem,
                                @Param("startTime") String startTime,
                                @Param("endTime") String endTime,
                                @Param("offset") int offset,
                                @Param("limit") int limit);
}